/**
 * 
 */
package com.thor.palmmall.rest.balancebill;

import java.util.List;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import com.thor.commons.entity.BeanOperateInfo;
import com.thor.commons.exception.ThorServiceException;
import com.thor.commons.query.QueryResult;
import com.thor.palmmall.rest.common.AUserGroupLoadParam;

/**
 * @author Vergar
 * 正大对账单相关接口
 * @since 1.0
 */
@Path("/banlancebill")
@Produces(MediaType.APPLICATION_JSON + "; charset=utf-8")
@Consumes(MediaType.APPLICATION_JSON + "; charset=utf-8")
public interface RSBanlanceBillService {
  
  /**
   * 登录页获取下载附件列表
   * @return
   * @throws ThorServiceException
   */
  @GET
  @Path("/getattachments/{enterpraise}")
  String getAttachments(@PathParam("enterpraise") String enterpraise) throws ThorServiceException;
  
  @POST
  @Path(value = "/query")
  List<BanlanceBill> query(BillQueryParam billQueryParam) throws Exception;

  @GET
  @Path(value = "/getDetails/{uuid}")
  List<BanlanceBillDetail> getDetails(@PathParam("uuid") String uuid) throws ThorServiceException;

  @POST
  @Path("/confirm")
  public void confirmSubjects(List<String> accIds) throws ThorServiceException;

}
